StoreEngine\Classes\Order D

Total Complexity 337
Dependencies 16
Dependents 26
Total lines 2,742
Lines of code 1,202
Logical lines of code 535
Comment lines 1,187
Methods 162
Properties 4

Methods 162

Method Rating Maintainability Complexity Lines of code
get_formatted_order_total()
A
48 13 28
get_recent_draft_order()
A
48 11 32
get_downloadable_items()
A
46 10 37
payment_complete()
A
47 9 34
status_transition()
A
48 8 32
add_order_note()
S
45 6 43
create()
S
55 7 17
set_address_prop()
S
61 7 11
needs_processing()
S
55 6 19
set_status()
S
56 6 17
add_order_item_totals_payment_method_row()
S
58 6 14
get_order_notes()
S
48 4 35
get_refunds()
S
55 5 18
update_status()
S
57 5 16
get_changes()
S
58 5 15
maybe_set_date_paid()
S
62 6 10
get_date_paid()
S
64 6 8
get_item_count_refunded()
S
58 5 15
update()
S
47 3 44
get_tax_refunded_for_item()
S
58 5 14
has_downloadable_item()
S
63 5 11
add_order_item_totals_refund_rows()
S
56 4 16
get_order_note()
S
56 4 16
needs_shipping_address()
S
58 4 15
get_total_tax_refunded_by_rate_id()
S
62 4 11
get_total_refunded_for_item()
S
62 4 11
get_qty_refunded_for_item()
S
62 4 11
get_total_refunded()
S
56 3 17
maybe_set_user_billing_email()
S
64 4 10
set_payment_method()
S
63 3 11
get_total_tax_refunded()
S
55 2 21
get_total_shipping_refunded()
S
55 2 21
create_refund()
S
55 2 19
create_draft_order()
S
56 2 18
is_download_permitted()
S
76 3 3
get_cancel_endpoint()
S
64 3 10
delete()
S
64 3 9
set_order_email()
S
69 3 6
set_billing_email()
S
65 3 9
get_address_prop()
S
63 3 10
get_formatted_shipping_address()
S
64 3 9
get_total_qty_refunded()
S
65 3 9
get_order_item_totals()
S
60 2 13
get_payment_url()
S
60 2 13
get_checkout_payment_url()
S
61 2 12
get_cancel_order_url()
S
57 1 19
get_cancel_order_url_raw()
S
58 1 17
has_address()
S
79 2 3
needs_payment()
S
67 2 7
set_order_placed_date_gmt()
S
70 2 6
set_shipping_address()
S
72 2 5
set_billing_address()
S
72 2 5
has_shipping_address()
S
79 2 3
has_billing_address()
S
79 2 3
set_order_placed_date()
S
70 2 6
get_formatted_billing_address()
S
71 2 5
maybe_set_date_completed()
S
74 2 5
get_data()
S
61 1 13
get_shipping_country()
S
79 1 3
get_shipping_company()
S
79 1 3
get_shipping_address_1()
S
79 1 3
get_shipping_address_2()
S
79 1 3
get_customer_order_notes()
S
80 1 3
add_status_transition_note()
S
77 1 3
get_shipping_city()
S
79 1 3
get_edit_order_url()
S
74 1 4
get_view_order_url()
S
78 1 3
get_shipping_state()
S
79 1 3
get_shipping_postcode()
S
79 1 3
get_shipping_email()
S
79 1 3
get_checkout_order_received_url()
S
74 1 4
get_shipping_first_name()
S
79 1 3
get_shipping_phone()
S
79 1 3
get_payment_method()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_transaction_id()
S
79 1 3
get_ip_address()
S
79 1 3
get_user_agent()
S
79 1 3
is_paid()
S
78 1 3
is_editable()
S
68 1 7
has_cart_hash()
S
79 1 3
get_shipping_last_name()
S
79 1 3
get_billing_email()
S
79 1 3
get_billing_phone()
S
79 1 3
untrash()
S
82 1 3
handle_exception()
S
79 1 3
set_total_amount()
S
81 1 3
get_total_amount()
S
80 1 3
get_tax_amount()
S
80 1 3
get_downloadable_permissions()
S
80 1 3
get_refunds_total()
S
80 1 3
get_base_data()
S
69 1 7
get_order_number()
S
78 1 3
get_billing_first_name()
S
79 1 3
has_cogs()
S
82 1 3
is_created_via()
S
78 1 3
set_recorded_sales()
S
79 1 3
get_billing_last_name()
S
79 1 3
get_billing_company()
S
79 1 3
get_billing_address_1()
S
79 1 3
get_remaining_refund_items()
S
79 1 3
get_remaining_refund_amount()
S
78 1 3
get_billing_address_2()
S
79 1 3
get_billing_city()
S
79 1 3
get_billing_state()
S
79 1 3
get_billing_postcode()
S
79 1 3
get_billing_country()
S
79 1 3
key_is_valid()
S
79 1 3
set_new_order_email_sent()
S
79 1 3
get_formatted_shipping_full_name()
S
77 1 3
set_shipping()
S
81 1 3
set_billing_postcode()
S
79 1 3
set_billing_state()
S
79 1 3
set_billing_city()
S
79 1 3
set_billing_address_2()
S
79 1 3
set_billing_address_1()
S
79 1 3
set_billing_company()
S
79 1 3
set_billing_last_name()
S
79 1 3
set_billing_first_name()
S
79 1 3
set_customer_id()
S
79 1 3
get_date_completed()
S
79 1 3
get_cart_hash()
S
80 1 3
read_db_data()
S
66 1 9
set_billing()
S
81 1 3
get_hash()
S
79 1 3
get_address()
S
77 1 3
get_order_placed_date()
S
79 1 3
get_order_placed_date_gmt()
S
79 1 3
get_recorded_sales()
S
79 1 3
get_new_order_email_sent()
S
79 1 3
get_download_permissions_granted()
S
79 1 3
get_order_stock_reduced()
S
79 1 3
get_shipping_address_map_url()
S
68 1 6
get_formatted_billing_full_name()
S
77 1 3
set_billing_country()
S
79 1 3
get_customer_note()
S
79 1 3
set_download_permissions_granted()
S
79 1 3
set_payment_method_title()
S
80 1 3
set_order_stock_reduced()
S
79 1 3
set_hash()
S
80 1 3
set_cart_hash()
S
81 1 3
set_date_paid()
S
80 1 3
set_date_completed()
S
80 1 3
set_customer_note()
S
80 1 3
set_created_via()
S
80 1 3
set_user_agent()
S
80 1 3
set_ip_address()
S
80 1 3
set_transaction_id()
S
80 1 3
get_created_via()
S
79 1 3
set_billing_phone()
S
79 1 3
set_shipping_email()
S
79 1 3
set_shipping_phone()
S
79 1 3
set_shipping_country()
S
79 1 3
set_shipping_postcode()
S
79 1 3
set_shipping_state()
S
79 1 3
set_shipping_city()
S
79 1 3
set_shipping_address_2()
S
79 1 3
set_shipping_address_1()
S
79 1 3
set_shipping_company()
S
79 1 3
set_shipping_last_name()
S
79 1 3
set_shipping_first_name()
S
79 1 3
__construct()
S
69 1 7